<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>个人中心 - 钓鱼小程序</title>
    <style>
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        /* 移动端滚动条优化 - 隐藏滚动条 */
        ::-webkit-scrollbar {
            display: none;
        }
        
        * {
            -ms-overflow-style: none;
            scrollbar-width: none;
        }

        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            background-color: #f5f5f5;
            color: #333;
            line-height: 1.6;
            max-width: 375px;
            margin: 0 auto;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            padding-top: 140px;
        }

        .header {
            position: fixed;
            top: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 100%;
            max-width: 375px;
            background: #3498DB;
            color: white;
            padding: 20px 16px 40px;
            z-index: 100;
            border-bottom: 1px solid rgba(255,255,255,0.2);
        }

        .user-info {
            display: flex;
            align-items: center;
            gap: 16px;
        }

        .avatar {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            background: rgba(255,255,255,0.2);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 24px;
            border: 2px solid rgba(255,255,255,0.3);
        }

        .user-details {
            flex: 1;
        }

        .username {
            font-size: 18px;
            font-weight: 600;
            margin-bottom: 4px;
        }

        .user-level {
            font-size: 14px;
            opacity: 0.9;
            display: flex;
            align-items: center;
            gap: 6px;
        }

        .level-badge {
            background: rgba(255,255,255,0.2);
            padding: 2px 8px;
            border-radius: 10px;
            font-size: 12px;
        }

        .settings-btn {
            background: none;
            border: none;
            color: white;
            font-size: 20px;
            cursor: pointer;
            padding: 8px;
        }
        
        /* 小程序胶囊按钮 */
        .capsule-btn {
            background: rgba(255,255,255,0.2);
            border-radius: 16px;
            padding: 6px 12px;
            display: flex;
            align-items: center;
            gap: 8px;
            margin-left: 8px;
        }
        
        .capsule-btn .dot {
            width: 4px;
            height: 4px;
            background: white;
            border-radius: 50%;
        }

        .stats-section {
            background: white;
            margin: -20px 16px 16px;
            border-radius: 12px;
            padding: 20px;
            box-shadow: 0 2px 12px rgba(0,0,0,0.1);
            position: relative;
            z-index: 10;
        }

        .stats-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 16px;
            text-align: center;
        }

        .stat-item {
            display: flex;
            flex-direction: column;
            gap: 4px;
        }

        .stat-number {
            font-size: 18px;
            font-weight: 600;
            color: #3498DB;
        }

        .stat-label {
            font-size: 12px;
            color: #666;
        }

        .main-content {
            flex: 1;
            padding: 0 16px 80px;
        }

        .section {
            background: white;
            border-radius: 12px;
            margin-bottom: 16px;
            overflow: hidden;
        }

        .section-title {
            padding: 16px;
            font-size: 16px;
            font-weight: 600;
            color: #333;
            border-bottom: 1px solid #f0f0f0;
        }

        .menu-list {
            list-style: none;
        }

        .menu-item {
            display: flex;
            align-items: center;
            padding: 16px;
            border-bottom: 1px solid #f0f0f0;
            cursor: pointer;
            transition: background 0.3s;
        }

        .menu-item:last-child {
            border-bottom: none;
        }

        .menu-item:hover {
            background: #f8f9fa;
        }

        .menu-icon {
            width: 20px;
            height: 20px;
            margin-right: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 16px;
        }

        .menu-text {
            flex: 1;
            font-size: 14px;
            color: #333;
        }

        .menu-badge {
            background: #e74c3c;
            color: white;
            font-size: 10px;
            padding: 2px 6px;
            border-radius: 8px;
            margin-right: 8px;
        }

        .menu-arrow {
            color: #999;
            font-size: 12px;
        }

        .order-shortcuts {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 1px;
            background: #f0f0f0;
        }

        .order-shortcut {
            background: white;
            padding: 16px 8px;
            text-align: center;
            cursor: pointer;
            transition: background 0.3s;
            position: relative;
        }

        .order-shortcut:hover {
            background: #f8f9fa;
        }

        .shortcut-icon {
            font-size: 20px;
            margin-bottom: 6px;
            color: #3498DB;
        }

        .shortcut-text {
            font-size: 12px;
            color: #666;
        }

        .shortcut-badge {
            position: absolute;
            top: 8px;
            right: 8px;
            background: #e74c3c;
            color: white;
            font-size: 10px;
            padding: 2px 4px;
            border-radius: 6px;
            min-width: 16px;
            height: 16px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .vip-banner {
            background: linear-gradient(135deg, #ff6b6b, #ffa500);
            color: white;
            padding: 16px;
            border-radius: 12px;
            margin-bottom: 16px;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .vip-info {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .vip-icon {
            width: 40px;
            height: 40px;
            background: rgba(255,255,255,0.2);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 20px;
        }

        .vip-text {
            display: flex;
            flex-direction: column;
            gap: 2px;
        }

        .vip-title {
            font-size: 14px;
            font-weight: 600;
        }

        .vip-desc {
            font-size: 12px;
            opacity: 0.9;
        }

        .vip-btn {
            background: rgba(255,255,255,0.2);
            border: 1px solid rgba(255,255,255,0.3);
            color: white;
            padding: 8px 16px;
            border-radius: 20px;
            font-size: 12px;
            cursor: pointer;
        }

        .bottom-nav {
            position: fixed;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 100%;
            max-width: 375px;
            background: white;
            border-top: 1px solid #eee;
            display: flex;
            z-index: 100;
        }

        .nav-item {
            flex: 1;
            padding: 8px;
            text-align: center;
            cursor: pointer;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 4px;
            color: #666;
            text-decoration: none;
        }

        .nav-item.active {
            color: #3498DB;
        }

        .nav-icon {
            font-size: 20px;
        }

        .nav-text {
            font-size: 10px;
        }

        .tab-bar {
            position: fixed;
            bottom: 0;
            left: 0;
            width: 100%;
            max-width: 375px;
            background: white;
            border-top: 1px solid #eee;
            display: flex;
            z-index: 100;
        }

        .tab-item {
            flex: 1;
            padding: 8px;
            text-align: center;
            cursor: pointer;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 4px;
            color: #666;
            text-decoration: none;
        }

        .tab-item.active {
            color: #3498DB;
        }

        .tab-icon {
            font-size: 20px;
        }

        .tab-text {
            font-size: 10px;
        }
    </style>
</head>
<body>
    <div class="header">
        <div class="user-info">
            <div class="avatar">👤</div>
            <div class="user-details">
                <div class="username">钓鱼达人</div>
                <div class="user-level">
                    <span class="level-badge">VIP</span>
                    <span>黄金会员</span>
                </div>
            </div>
            <button class="settings-btn">⚙️</button>
            <div class="capsule-btn">
                <div class="dot"></div>
                <div class="dot"></div>
                <div class="dot"></div>
            </div>
        </div>
    </div>

    <div class="stats-section">
        <div class="stats-grid">
            <div class="stat-item">
                <div class="stat-number">12</div>
                <div class="stat-label">钓鱼次数</div>
            </div>
            <div class="stat-item">
                <div class="stat-number">36</div>
                <div class="stat-label">钓获总数</div>
            </div>
            <div class="stat-item">
                <div class="stat-number">48</div>
                <div class="stat-label">钓鱼时长</div>
            </div>
            <div class="stat-item">
                <div class="stat-number">8</div>
                <div class="stat-label">访问钓场</div>
            </div>
        </div>
    </div>

    <div class="main-content">
        <div class="vip-banner">
            <div class="vip-info">
                <div class="vip-icon">👑</div>
                <div class="vip-text">
                    <div class="vip-title">升级至钻石会员</div>
                    <div class="vip-desc">享受更多专属权益</div>
                </div>
            </div>
            <button class="vip-btn" onclick="location.href='membership.html'">立即升级</button>
        </div>

        <div class="section">
            <div class="section-title">我的订单</div>
            <div class="order-shortcuts">
                <div class="order-shortcut">
                    <div class="shortcut-icon">💳</div>
                    <div class="shortcut-text">待付款</div>
                    <div class="shortcut-badge">2</div>
                </div>
                <div class="order-shortcut">
                    <div class="shortcut-icon">📦</div>
                    <div class="shortcut-text">待发货</div>
                </div>
                <div class="order-shortcut">
                    <div class="shortcut-icon">🚚</div>
                    <div class="shortcut-text">待收货</div>
                    <div class="shortcut-badge">1</div>
                </div>
                <div class="order-shortcut">
                    <div class="shortcut-icon">⭐</div>
                    <div class="shortcut-text">待评价</div>
                </div>
            </div>
        </div>

        <div class="section">
            <ul class="menu-list">
                <li class="menu-item">
                    <div class="menu-icon">🎫</div>
                    <div class="menu-text">我的入场券</div>
                    <div class="menu-badge">3</div>
                    <div class="menu-arrow">></div>
                </li>
                <li class="menu-item">
                    <div class="menu-icon">🛒</div>
                    <div class="menu-text">购物车</div>
                    <div class="menu-arrow">></div>
                </li>
                <li class="menu-item">
                    <div class="menu-icon">❤️</div>
                    <div class="menu-text">我的收藏</div>
                    <div class="menu-arrow">></div>
                </li>
                <li class="menu-item">
                    <div class="menu-icon">📍</div>
                    <div class="menu-text">收货地址</div>
                    <div class="menu-arrow">></div>
                </li>
            </ul>
        </div>

        <div class="section">
            <ul class="menu-list">
                <li class="menu-item">
                    <div class="menu-icon">🎣</div>
                    <div class="menu-text">钓鱼记录</div>
                    <div class="menu-arrow">></div>
                </li>
                <li class="menu-item">
                    <div class="menu-icon">🏆</div>
                    <div class="menu-text">成就徽章</div>
                    <div class="menu-arrow">></div>
                </li>
                <li class="menu-item">
                    <div class="menu-icon">👥</div>
                    <div class="menu-text">邀请好友</div>
                    <div class="menu-arrow">></div>
                </li>
                <li class="menu-item">
                    <div class="menu-icon">💰</div>
                    <div class="menu-text">我的钱包</div>
                    <div class="menu-arrow">></div>
                </li>
            </ul>
        </div>

        <div class="section">
            <ul class="menu-list">
                <li class="menu-item">
                    <div class="menu-icon">🎁</div>
                    <div class="menu-text">优惠券</div>
                    <div class="menu-badge">5</div>
                    <div class="menu-arrow">></div>
                </li>
                <li class="menu-item">
                    <div class="menu-icon">🎯</div>
                    <div class="menu-text">积分商城</div>
                    <div class="menu-arrow">></div>
                </li>
                <li class="menu-item">
                    <div class="menu-icon">📞</div>
                    <div class="menu-text">联系客服</div>
                    <div class="menu-arrow">></div>
                </li>
                <li class="menu-item">
                    <div class="menu-icon">ℹ️</div>
                    <div class="menu-text">关于我们</div>
                    <div class="menu-arrow">></div>
                </li>
            </ul>
        </div>
    </div>

    <div class="tab-bar">
        <div class="tab-item">
            <div class="tab-icon">🏠</div>
            <div>首页</div>
        </div>
        <div class="tab-item">
            <div class="tab-icon">🎫</div>
            <div>入场券</div>
        </div>
        <div class="tab-item">
            <div class="tab-icon">🔥</div>
            <div>沸点</div>
        </div>
        <div class="tab-item active">
            <div class="tab-icon">👤</div>
            <div>我的</div>
        </div>
    </div>

    <script>
        // 简单的交互逻辑
        document.querySelectorAll('.menu-item').forEach(item => {
            item.addEventListener('click', function() {
                const text = this.querySelector('.menu-text').textContent;
                console.log('点击了:', text);
                // 这里可以添加页面跳转逻辑
            });
        });

        document.querySelectorAll('.order-shortcut').forEach(shortcut => {
            shortcut.addEventListener('click', function() {
                const text = this.querySelector('.shortcut-text').textContent;
                console.log('点击了订单:', text);
                // 这里可以添加订单页面跳转逻辑
            });
        });
    </script>
</body>
</html> 